package com.powerteam.service.crm;

import com.powerteam.model.crm.ShareGroup;
import com.powerteam.vo.Result;

/**
 * 共享资源相关服务接口
 *
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2021/12/30
 */
public interface ShareGroupService {


    /**
     * 创建共享组信息
     *
     * @param shareGroup
     * @Author jinming.zhang
     * @Date 2022/1/6
     * @return Result
     */
    Result insert(ShareGroup shareGroup);

    /**
     * 根据资源信息删除资源组信息
     *
     * @param shareGroup
     * @Author jinming.zhang
     * @Date 2022/1/7
     * @return Result
     */
    Result deleteByResource(ShareGroup shareGroup);
}
